package com.gujiangbo.chapter06;

import java.util.concurrent.TimeUnit;

/**
 * @Author: gujiangbo.co
 * @Contact: 646832012@qq.com
 * @Date: 2022/3/28 20:28
 * @Version: 1.0
 * @Description:
 * -Xms10m -Xmx10m
 * 初始堆空间大小     最大堆空间大小
 * -XX:InitialHeapSize   堆初始化大小
 */
public class JavaHeapTest {

    public static void main(String[] args) {
        System.out.println("start....");

        //暂停10秒钟线程
        try{
            TimeUnit.SECONDS.sleep(1000000);} catch (InterruptedException e) {e.printStackTrace();}
    }
}
